package com.techsoul.module.baoli.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.techsoul.module.baoli.pojo.param.FinCustomerPointTransactionDetailSaveParam;
import com.techsoul.module.baoli.pojo.param.FinCustomerPointTransactionDetailSearchParam;
import com.techsoul.module.baoli.pojo.vo.FinCustomerPointTransactionDetailVo;

import java.util.List;

/**
 * 客户积分交易明细 Service接口
 * 
 * @author liuen
 * @date 2022-09-05
 */
public interface IFinCustomerPointTransactionDetailService {

    /**
     * 新增
     * @param params
     * @return
     */
    String insert(FinCustomerPointTransactionDetailSaveParam params);

    /**
     * 删除
     * @param id
     * @return
     */
    Integer delete(String id);

    /**
     * 批量删除
     * @param idList
     */
    Integer batchDelete(List<String> idList);

    /**
     * 修改
     * @param params
     * @return
     */
    Integer update(FinCustomerPointTransactionDetailSaveParam params);

    /**
     * 详情
     * @param id
     * @return
     */
    FinCustomerPointTransactionDetailVo findById(String id);

    /**
     * 列表
     * @param params
     * @return
     */
    List<FinCustomerPointTransactionDetailVo> findAll(FinCustomerPointTransactionDetailSearchParam params);

    /**
     * 列表-分页
     * @param params
     * @param current
     * @param pageSize
     * @return
     */
    IPage<FinCustomerPointTransactionDetailVo> findAll(FinCustomerPointTransactionDetailSearchParam params, Integer current, Integer pageSize);

}
